var Command = require('./public/command.js');

var config = require('./config');
var app = require('./app.js');
var server = require('http').Server(app);
require('./socket.io.js')(server);

server.listen(config.port);

console.log('服务已启动,监听端口为' + config.port);